// 用户登录接口
import { fetch } from '@/axios-config/axios'
interface PropsData {
  params?: any
  data?: any
}

export const loginApi = ({ data }: PropsData): any => {
  return fetch({ url: '/auth/teacher/login', method: 'post', data })
}
